package com.brillilab.domain.vo.topics;

import java.io.Serializable;
import java.util.Date;

import com.brillilab.common.utils.DateUtil;

import lombok.Data;

@Data
public class ExperimentDateListVo  implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 实验目标ID 
	 */
	private Long topicExperimentId;

	/**
	 * 实验id
	 */
	private Long experimentId;
	
	
	/**
	 * 实验状态：0:未开始,1进行中、2已结束
	 */
	private Integer state;
	
	/**
	 * 实验开始时间
	 */
	private Date startTime;
	
	/**
	 * 实验时间
	 */
	private String experimentDate;
	
	
	public String getExperimentDate() {
		experimentDate = startTime!=null ? DateUtil.dateString(startTime, DateUtil.DATE_HOUR_FORMAT)+"时":"";
		return experimentDate;
	}
	
}
